package wsz.rabbitmq.utils;

/**
 * @author wsz
 * @date 2022/2/21 16:30
 **/
public class Constants {

    // 待支付订单队列
    public static String PAY_QUEUEQ = "queue.pay";
    public static String PAY_EXCHANGE = "ex.pay";
    public static String PAY_ROUTING_KEY = "pay";

    // 待支付订单-死信队列
    public static String PAY_QUEUEQ_DLX = "queue.pay.dlx";
    public static String PAY_QUEUEQ_DLX_EXCHANGE = "ex.pay.dlx";


    // 订单支付状态：0待支付 1已支付
    public static Integer PAY_NO = 0;
    public static Integer PAY_OK = 1;
}
